#-------------------------------------------------
#
# Project created by QtCreator 2016-11-02T09:45:03
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = lcopa_client
TEMPLATE = app
PKGCONFIG += opencv
 CONFIG += thread
SOURCES += main.cpp\
        mainwindow.cpp \
    lcopa_usb.cpp \
    uphi.cpp \
    lib_json/json_reader.cpp \
    lib_json/json_value.cpp \
    lib_json/json_writer.cpp \
    cvdialog.cpp \
    cvupdatethread.cpp

HEADERS  += mainwindow.h \
    lcopa_usb.h \
    uphi.h \
    json_tool.h \
    lib_json/json_tool.h \
    lib_json/version.h.in \
    json/allocator.h \
    json/assertions.h \
    json/autolink.h \
    json/config.h \
    json/features.h \
    json/forwards.h \
    json/json.h \
    json/reader.h \
    json/value.h \
    json/version.h \
    json/writer.h \
    cvdialog.h \
    cvupdatethread.h

FORMS    += mainwindow.ui \
    cvdialog.ui

INCLUDEPATH += /usr/local/include \
                /usr/local/include/opencv \
                /usr/local/include/opencv2\
                /usr/include/libusb-1.0

#LIBS += /usr/local/lib/libopencv_highgui.so \
#        /usr/local/lib/libopencv_core.so    \
#        /usr/local/lib/libopencv_imgproc.so \
#       /usr/local/lib/libusb-1.0.so
LIBS += /usr/local/lib/libusb-1.0.so

LIBS += `pkg-config opencv --cflags --libs`
